﻿using EYangFramework.Common.Ninject;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace EYangFramework.Common.Timer
{
    public class TimerProvider
    {
        public static ISingtonTimer SingtonTimer { get { return NinjectProvider.NinjectCore.GetService<ISingtonTimer>(); } }
        public static IInstanceTimer InstanceTimer { get { return NinjectProvider.NinjectCore.GetService<IInstanceTimer>(); } }
    }
}
